Integrand size = 26, antiderivative size = 35 \[ \int \frac {\sec ^3(c+d x)}{\sqrt {a+i a \tan (c+d x)}} \, dx=\frac {2 i a \sec ^3(c+d x)}{3 d (a+i a \tan (c+d x))^{3/2}} \]
[Out]
Time = 0.07 (sec) , antiderivative size = 35, normalized size of antiderivative = 1.00, number of steps used = 1, number of rules used = 1, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.038, Rules used = {3574} \[ \int \frac {\sec ^3(c+d x)}{\sqrt {a+i a \tan (c+d x)}} \, dx=\frac {2 i a \sec ^3(c+d x)}{3 d (a+i a \tan (c+d x))^{3/2}} \]
[In]
[Out]
Rule 3574
Rubi steps \begin{align*} \text {integral}& = \frac {2 i a \sec ^3(c+d x)}{3 d (a+i a \tan (c+d x))^{3/2}} \\ \end{align*}
Time = 0.44 (sec) , antiderivative size = 40, normalized size of antiderivative = 1.14 \[ \int \frac {\sec ^3(c+d x)}{\sqrt {a+i a \tan (c+d x)}} \, dx=\frac {2 \sec (c+d x) (i+\tan (c+d x))}{3 d \sqrt {a+i a \tan (c+d x)}} \]
[In]
[Out]
Time = 7.64 (sec) , antiderivative size = 44, normalized size of antiderivative = 1.26
method | result | size |
default | \(\frac {\frac {2 i \sec \left (d x +c \right )}{3}+\frac {2 \sec \left (d x +c \right ) \tan \left (d x +c \right )}{3}}{d \sqrt {a \left (1+i \tan \left (d x +c \right )\right )}}\) | \(44\) |
[In]
[Out]
none
Time = 0.25 (sec) , antiderivative size = 40, normalized size of antiderivative = 1.14 \[ \int \frac {\sec ^3(c+d x)}{\sqrt {a+i a \tan (c+d x)}} \, dx=\frac {4 i \, \sqrt {2} \sqrt {\frac {a}{e^{\left (2 i \, d x + 2 i \, c\right )} + 1}}}{3 \, {\left (a d e^{\left (2 i \, d x + 2 i \, c\right )} + a d\right )}} \]
[In]
[Out]
\[ \int \frac {\sec ^3(c+d x)}{\sqrt {a+i a \tan (c+d x)}} \, dx=\int \frac {\sec ^{3}{\left (c + d x \right )}}{\sqrt {i a \left (\tan {\left (c + d x \right )} - i\right )}}\, dx \]
[In]
[Out]
Both result and optimal contain complex but leaf count of result is larger than twice the leaf count of optimal. 206 vs. \(2 (27) = 54\).
Time = 0.33 (sec) , antiderivative size = 206, normalized size of antiderivative = 5.89 \[ \int \frac {\sec ^3(c+d x)}{\sqrt {a+i a \tan (c+d x)}} \, dx=-\frac {2 \, {\left (-i \, \sqrt {a} - \frac {2 \, \sqrt {a} \sin \left (d x + c\right )}{\cos \left (d x + c\right ) + 1} - \frac {2 \, \sqrt {a} \sin \left (d x + c\right )^{3}}{{\left (\cos \left (d x + c\right ) + 1\right )}^{3}} + \frac {i \, \sqrt {a} \sin \left (d x + c\right )^{4}}{{\left (\cos \left (d x + c\right ) + 1\right )}^{4}}\right )} \sqrt {\frac {\sin \left (d x + c\right )}{\cos \left (d x + c\right ) + 1} + 1} \sqrt {\frac {\sin \left (d x + c\right )}{\cos \left (d x + c\right ) + 1} - 1}}{3 \, {\left (a - \frac {2 \, a \sin \left (d x + c\right )^{2}}{{\left (\cos \left (d x + c\right ) + 1\right )}^{2}} + \frac {a \sin \left (d x + c\right )^{4}}{{\left (\cos \left (d x + c\right ) + 1\right )}^{4}}\right )} d \sqrt {-\frac {2 i \, \sin \left (d x + c\right )}{\cos \left (d x + c\right ) + 1} + \frac {\sin \left (d x + c\right )^{2}}{{\left (\cos \left (d x + c\right ) + 1\right )}^{2}} - 1}} \]
[In]
[Out]
\[ \int \frac {\sec ^3(c+d x)}{\sqrt {a+i a \tan (c+d x)}} \, dx=\int { \frac {\sec \left (d x + c\right )^{3}}{\sqrt {i \, a \tan \left (d x + c\right ) + a}} \,d x } \]
[In]
[Out]
Time = 1.11 (sec) , antiderivative size = 98, normalized size of antiderivative = 2.80 \[ \int \frac {\sec ^3(c+d x)}{\sqrt {a+i a \tan (c+d x)}} \, dx=\frac {2\,\sqrt {\frac {a\,\left (\cos \left (2\,c+2\,d\,x\right )+1+\sin \left (2\,c+2\,d\,x\right )\,1{}\mathrm {i}\right )}{\cos \left (2\,c+2\,d\,x\right )+1}}\,\left (\sin \left (c+d\,x\right )+\sin \left (3\,c+3\,d\,x\right )+\cos \left (c+d\,x\right )\,1{}\mathrm {i}+\cos \left (3\,c+3\,d\,x\right )\,1{}\mathrm {i}\right )}{3\,a\,d\,\left (\cos \left (2\,c+2\,d\,x\right )+1\right )} \]
[In]
[Out]